package com.gopay.common.domain.banklimitquery;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * CLASSNAME:BankLimitInfo
 * Description:银行限额实体类
 * DATE:2017/5/27/027
 * AUTHER:PANSHICHAO
 * www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name="BANK_LIMIT_INFO")
public class BankLimitInfo implements Serializable {
    private String infoId;
    private String bankCode;
    private String bankName;
    private String bankProductCode;
    private String bankProdSingleLimit;
    private String bankProdDayLimit;
    private Date createdTs;
    private Date lastUpdTs;
    private String createdCustId;
    private String lastUpdCustId;
    private String remark;
    private String lockVersion;
    private String infoStat;
    @Id
    @GenericGenerator(name="systemUUID",strategy="uuid")
    @GeneratedValue(generator="systemUUID")
    @Column(name = "INFO_ID", insertable = true, updatable = true, nullable = false)
    public String getInfoId() {
        return infoId;
    }
    @Basic
    @Column(name = "BANK_CODE")
    public String getBankCode() {
        return bankCode;
    }
    @Basic
    @Column(name = "BANK_NAME")
    public String getBankName() {
        return bankName;
    }
    @Basic
    @Column(name = "BANK_PRODUCT_CODE")
    public String getBankProductCode() {
        return bankProductCode;
    }
    @Basic
    @Column(name = "BANK_PROD_SINGLE_LIMIT")
    public String getBankProdSingleLimit() {
        return bankProdSingleLimit;
    }
    @Basic
    @Column(name = "BANK_PROD_DAY_LIMIT")
    public String getBankProdDayLimit() {
        return bankProdDayLimit;
    }
    @Basic
    @Column(name = "CREATE_TS")
    public Date getCreatedTs() {
        return createdTs;
    }
    @Basic
    @Column(name = "LAST_UPD_TS")
    public Date getLastUpdTs() {
        return lastUpdTs;
    }
    @Basic
    @Column(name = "CREATE_CUST_ID")
    public String getCreatedCustId() {
        return createdCustId;
    }
    @Basic
    @Column(name = "LAST_UPD_CUST_ID")
    public String getLastUpdCustId() {
        return lastUpdCustId;
    }
    @Basic
    @Column(name = "REMARK")
    public String getRemark() {
        return remark;
    }
    @Basic
    @Column(name = "LOCK_VERSION")
    public String getLockVersion() {
        return lockVersion;
    }

    public void setInfoId(String infoId) {
        this.infoId = infoId;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setBankProductCode(String bankProductCode) {
        this.bankProductCode = bankProductCode;
    }

    public void setBankProdSingleLimit(String bankProdSingleLimit) {
        this.bankProdSingleLimit = bankProdSingleLimit;
    }

    public void setBankProdDayLimit(String bankProdDayLimit) {
        this.bankProdDayLimit = bankProdDayLimit;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public void setCreatedCustId(String createdCustId) {
        this.createdCustId = createdCustId;
    }

    public void setLastUpdCustId(String lastUpdCustId) {
        this.lastUpdCustId = lastUpdCustId;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setLockVersion(String lockVersion) {
        this.lockVersion = lockVersion;
    }
    @Basic
    @Column(name = "INFO_STAT")
    public String getInfoStat() {
        return infoStat;
    }

    public void setInfoStat(String infoStat) {
        this.infoStat = infoStat;
    }
}
